package com.sia.springcloud.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author: Sirius
 * @Date: 2022/1/2 14:36
 * @Description:
 **/
@RestController
@RequestMapping("//pointController")
public interface IPointController {

    /**
     * 添加点位
     *
     * @param request
     * @return
     */
    @RequestMapping("/insertPoint")
    String insertPoint(HttpServletRequest request);

    /**
     * 分页查询点位
     *
     * @param request
     * @return
     */
    @RequestMapping("/queryPoint")
    String queryPoint(HttpServletRequest request);


    /**
     * 删除点位
     *
     * @param request
     * @return
     */
    @RequestMapping("/deletePoint")
    String deletePoint(HttpServletRequest request);


    /**
     * 修改点位
     *
     * @param request
     * @return
     */
    @RequestMapping("/updatePoint")
    String updatePoint(HttpServletRequest request);


    /**
     * 获取点位表格格式
     *
     * @return
     */
    @RequestMapping("/tableStructure")
    String tableStructure();

}
